package com.shine.minepressure.bean;

import com.google.gson.annotations.SerializedName;

import java.util.List;

public class SensorHisAlarmBean {
    private String total;
    private List<SensorHisAlarmBean.RowsDTO> rows;

    public String getTotal() {
        return total;
    }

    public void setTotal(String total) {
        this.total = total;
    }

    public List<SensorHisAlarmBean.RowsDTO> getRows() {
        return rows;
    }

    public void setRows(List<SensorHisAlarmBean.RowsDTO> rows) {
        this.rows = rows;
    }

    public static class RowsDTO {
        @SerializedName("SensorId")
        private String sensorId;
        @SerializedName("SensorTypeName")
        private String sensorTypeName;
        @SerializedName("SensorPosition")
        private String sensorPosition;
        @SerializedName("AlarmBeginTime")
        private String alarmBeginTime;
        @SerializedName("AlarmEndtTme")
        private String alarmEndtTme;
        @SerializedName("Duration")
        private String duration;
        @SerializedName("AlarmState")
        private String alarmState;

        public String getSensorTypeName() {
            return sensorTypeName;
        }

        public void setSensorTypeName(String sensorTypeName) {
            this.sensorTypeName = sensorTypeName;
        }

        public String getSensorId() {
            return sensorId;
        }

        public void setSensorId(String sensorId) {
            this.sensorId = sensorId;
        }

        public String getSensorPosition() {
            return sensorPosition;
        }

        public void setSensorPosition(String sensorPosition) {
            this.sensorPosition = sensorPosition;
        }

        public String getAlarmBeginTime() {
            return alarmBeginTime;
        }

        public void setAlarmBeginTime(String alarmBeginTime) {
            this.alarmBeginTime = alarmBeginTime;
        }

        public String getAlarmEndtTme() {
            return alarmEndtTme;
        }

        public void setAlarmEndtTme(String alarmEndtTme) {
            this.alarmEndtTme = alarmEndtTme;
        }

        public String getDuration() {
            return duration;
        }

        public void setDuration(String duration) {
            this.duration = duration;
        }

        public String getAlarmState() {
            return alarmState;
        }

        public void setAlarmState(String alarmState) {
            this.alarmState = alarmState;
        }
    }
}
